package com.eiot.framework.demo.service;

import com.eiot.framework.demo.dto.req.AddSysUserDto;
import com.eiot.framework.demo.dto.req.DeleteSysUserDto;
import com.eiot.framework.demo.dto.req.QuerySysUserDto;
import com.eiot.framework.demo.dto.req.UpdateSysUserDto;
import com.eiot.framework.demo.entity.SysUser;

import java.util.List;

public interface ExampleService {

    /**
     * 查询（分页）：用户信息
     * @return
     */
    public List<SysUser> queryUserListByPage(QuerySysUserDto req);

    public int addUser(AddSysUserDto req);

    public int updateUser(UpdateSysUserDto req);

    public int deleteUser(DeleteSysUserDto req);
}
